package com.hehui.module.goods.dao;


import com.hehui.module.goods.entity.RefGoodsUnit;
import com.hehui.module.goods.entity.RefGoodsUnitExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RefGoodsUnitMapper {
    long countByExample(RefGoodsUnitExample example);

    int deleteByExample(RefGoodsUnitExample example);

    int insert(RefGoodsUnit record);

    int insertSelective(RefGoodsUnit record);

    List<RefGoodsUnit> selectByExample(RefGoodsUnitExample example);

    int updateByExampleSelective(@Param("record") RefGoodsUnit record, @Param("example") RefGoodsUnitExample example);

    int updateByExample(@Param("record") RefGoodsUnit record, @Param("example") RefGoodsUnitExample example);
}